package com.san.hkhospital.mapper;

import com.san.hkhospital.entity.Hospitalized;
import com.san.hkhospital.entity.HospitalizedExample;

import java.util.List;

import com.san.hkhospital.vo.Search;
import com.san.hkhospital.vo.hospitalizedTableVo;
import org.apache.ibatis.annotations.Param;

/**
 * ClassName:HospitalizedMapper
 * PackageName:com.san.hkhospital.mapper
 * Description:
 *
 * @Author:yy
 * @CreatedAt:2024/11/13 19:26
 */


public interface HospitalizedMapper {
    long countByExample(HospitalizedExample example);

    int deleteByExample(HospitalizedExample example);

    int deleteByPrimaryKey(Integer hpdId);

    int insert(Hospitalized record);

    int insertSelective(Hospitalized record);

    List<Hospitalized> selectByExample(HospitalizedExample example);

    Hospitalized selectByPrimaryKey(Integer hpdId);

    int updateByExampleSelective(@Param("record") Hospitalized record, @Param("example") HospitalizedExample example);

    int updateByExample(@Param("record") Hospitalized record, @Param("example") HospitalizedExample example);

    int updateByPrimaryKeySelective(Hospitalized record);

    int updateByPrimaryKey(Hospitalized record);

    List<hospitalizedTableVo> findAll();

    List<hospitalizedTableVo> search(Search search);
}